<?php



/**
 * This class defines the structure of the 'time_reports_view' table.
 *
 *
 *
 * This map class is used by Propel to do runtime db structure discovery.
 * For example, the createSelectSql() method checks the type of a given column used in an
 * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
 * (i.e. if it's a text column type).
 *
 * @package    propel.generator.damages.map
 */
class DamagesTimeReportsViewTableMap extends TableMap
{

    /**
     * The (dot-path) name of this class
     */
    const CLASS_NAME = 'damages.map.DamagesTimeReportsViewTableMap';

    /**
     * Initialize the table attributes, columns and validators
     * Relations are not initialized by this method since they are lazy loaded
     *
     * @return void
     * @throws PropelException
     */
    public function initialize()
    {
        // attributes
        $this->setName('time_reports_view');
        $this->setPhpName('TimeReportsView');
        $this->setClassname('DamagesTimeReportsView');
        $this->setPackage('damages');
        $this->setUseIdGenerator(false);
        // columns
        $this->addPrimaryKey('BRAND_ID', 'BrandId', 'INTEGER', true, 4, null);
        $this->addColumn('BRAND_CODE', 'BrandCode', 'VARCHAR', true, 100, null);
        $this->addColumn('BRAND_NAME', 'BrandName', 'VARCHAR', true, 100, null);
        $this->addColumn('CAR_DAMAGE_ID', 'CarDamageId', 'INTEGER', true, 4, null);
        $this->addColumn('CAR_DAMAGE_DATE', 'CarDamageDate', 'TIMESTAMP', true, 16, null);
        $this->addColumn('INVOICE_DATE', 'InvoiceDate', 'TIMESTAMP', false, 16, null);
        $this->addColumn('NOTE_DATE', 'NoteDate', 'TIMESTAMP', false, 16, null);
        $this->addColumn('LS_ID', 'LsId', 'INTEGER', false, 4, null);
        // validators
    } // initialize()

    /**
     * Build the RelationMap objects for this table relationships
     */
    public function buildRelations()
    {
    } // buildRelations()

} // DamagesTimeReportsViewTableMap
